package com.icity.service.impl;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.icity.entity.ArticleStatistical;
import com.icity.entity.VideoStatistical;
import com.icity.mapper.ContentStatisticalMapper;
import com.icity.mapper.VideoStatisticalMapper;
import com.icity.service.ContentStatisticalService;
import com.icity.service.VideoStatisticalService;

@Service
@Transactional
public class VideoStatisticalServiceImpl implements VideoStatisticalService{

	@Autowired
	private VideoStatisticalMapper videoStatisticalMapper;

@Override
public List<VideoStatistical> getOverallVideo(Map<Object, Object> map){

	return videoStatisticalMapper.getOverallVideo(map);
}

@Override
public List<VideoStatistical> getTrendVideo(Map<Object, Object> map){
	return videoStatisticalMapper.getTrendVideo(map);
}


}
